package com.ruben.state.example;

import java.util.Collections;
import java.util.Map;

/**
 * 已拒绝
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/10/17 19:14
 */
public class RejectStatus extends BaseStatus {
    /**
     * 审核
     *
     * @param param 参数
     * @return 结果
     */
    @Override
    public Map<String, Object> execute(Map<String, Object> param) {
        System.out.println("您未通过审核，请重新提交审核！");
        return Collections.singletonMap(STATUS, this.getClass().getSimpleName());
    }
}
